package com.aaa.ssm.dao;

import com.aaa.ssm.entity.Patient;

import java.util.List;

public interface PatientDao {
    List<Patient> queryByParam(Patient patient);
    Patient queryById(int id);
    int add(Patient patient);
    int update(Patient patient);
    int delete(int id);

    List<Patient> queryLogin(Patient patient);
}
